package com.example.kotlin.mvp_simple

import com.example.kotlin.mvp_simple.ILifecycle


/**
 * 多个泛型参数？？
 */
interface IPresenter<out View: IMvpView<IPresenter<View>>>: ILifecycle {
    val view: View
    var model: IModel?
}

interface IMvpView<out Presenter: IPresenter<IMvpView<Presenter>>>: ILifecycle{
    val presenter: Presenter
}
interface IModel{



}